package com.itheima.sc.pojo.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  WangMouRen
 * @Date 2022-10-11 
 */

@TableName( value ="oms_order_operate_history" )
@NoArgsConstructor
@AllArgsConstructor
@Data
public class OmsOrderOperateHistory  implements Serializable {

	private static final long serialVersionUID =  6309206790019838677L;
	@TableId

   	@TableField( "id" )
	private Long id;

	/**
	 * 订单id
	 */
   	@TableField( "order_id" )
	private Long orderId;

	/**
	 * 操作人：用户；系统；后台管理员
	 */
   	@TableField( "operate_man" )
	private String operateMan;

	/**
	 * 操作时间
	 */
   	@TableField( "create_time" )
	private Date createTime;

	/**
	 * 订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单
	 */
   	@TableField( "order_status" )
	private Integer orderStatus;

	/**
	 * 备注
	 */
   	@TableField( "note" )
	private String note;

}
